<div class="bg-light lter b-b wrapper-sm">
	<h1 class="m-n font-thin h4">车辆定位</h1>
</div>
<div class="wrapper-sm" ng-controller="carLocationController">
	<div class="panel panel-default">
		<div class="panel-heading font-bold"></div>
		<div class="panel-body">
			<label class="control-label pull-left w-xs">车牌号：</label>
			<div class="col-md-2 form-group">
				<label class="control-label text-left">{{carCode}}</label>
			</div>
			<label class="control-label pull-left  w-xs">定位日期：</label>
			<div class="col-md-2 form-group">
				<label class="control-label text-left">{{creationTime}}</label>
			</div>
			<label class="control-label pull-left  w-xs">送货地址：</label>
			<div class="col-md-4 form-group">
				<label class="control-label text-left">{{deliverAddress}}</label>
			</div>
			<div class="line line-xs pull-in"></div>
			<label class="control-label pull-left w-xs">定位情况：</label>
			<div class="col-md-2 form-group">
				<label class="control-label text-left">{{statusCode}}</label>
			</div>
			<label class="control-label pull-left  w-xs">手机号码：</label>
			<div class="col-md-2 form-group">
				<label class="control-label text-left">{{phoneNumber}}</label>
			</div>
			<label class="control-label pull-left  w-xs">发货地址：</label>
			<div class="col-md-4 form-group">
				<label class="control-label text-left">{{shipAddress}}</label>
			</div>
			<div class="line line-xs pull-in"></div>
			<label class="control-label pull-left w-xs">位置信息：</label>
			<div class="col-md-5 form-group">
				<label class="control-label text-left">{{area}}</label>
			</div>
			<button ng-click="dredge()" ng-disabled="isRegisterEnabled" class="btn btn-sm btn-primary btn-addon m-l-n-md"><i class="fa fa-location-arrow"></i>开通定位</button>
			<button ng-click="location()" ng-disabled="isLocationEnabled" class="btn btn-sm btn-primary btn-addon m-l"><i class="fa fa-location-arrow"></i>{{locationText}}</button>
			<button ng-click="goback()" class="btn btn-sm btn-default btn-addon m-l"><i class="fa fa-mail-reply"></i>返回</button>
		</div>
	</div>
	<div class="panel panel-default">
		<div class="panel-heading">
			<div style="border:#ccc solid 1px;" id="dituContent"></div>
		</div>
		<div class="table-responsive">
			<label class="control-label pull-left w-xs">历史定位：</label>
			<div class="col-md-2 form-group">
				<label class="control-label text-left">最近一次</label>
			</div>
			<label class="control-label pull-left w-xs">定位日期：</label>
			<div class="col-md-2 form-group">
				<label class="control-label text-left">{{creationTimeS}}</label>
			</div>
			<label class="control-label pull-left w-xs">位置信息：</label>
			<div class="col-md-2 form-group">
				<label class="control-label text-left">{{areaS}}</label>
			</div>
		</div>
	</div>
</div>
<style type="text/css">
	#dituContent {
		border: #ccc solid 1px;
		width: 100%;
		height: 458px;
		overflow: hidden;
		margin: 0;
	}
	
	.iw_poi_title {
		color: #CC5522;
		font-size: 14px;
		font-weight: bold;
		overflow: hidden;
		padding-right: 13px;
		white-space: nowrap;
	}
	
	.iw_poi_content {
		font: 12px arial, sans-serif;
		overflow: visible;
		padding-top: 4px;
		word-wrap: break-word;
	}
	
	.BMapLabel {
		max-width: none;
	}
</style>